<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>合同信息管理</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/common/common.css" >
<%@include file="/WEB-INF/jsp/common/scriptInc.jsp"%>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/html2canvas.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/jsproject/contractManage/contractInfo.js"></script>
<style type="text/css">
	.textdiv{
		margin: 10px 20px;
	}
	div span {
		color: red;
		width: 70px;
		border-bottom: 1px solid black;
	}
</style>
<script type="text/javascript">
	var username = getCookie("username");
	$(function(){
	 	if(username==null){
			window.location.href=$WEB_ROOT_PATH+"/jsp/login/login.jsp"
			return;
		}
	})
</script>
</head>
<body>
		<div id="myCanvas" style="width: 800px; height: 550px; background-color: white; margin: 0 auto;">
        	<div style="text-align: center;">
        		<h2>演出服租赁协议</h2>
        	</div>
        	<div class="textdiv">甲方:<span id="name">XX服装租赁公司</span></div>
        	<div class="textdiv">乙方:<span id="nameCostomer"></span></div>
        	<div class="textdiv">甲乙双方就租赁演出用服装道具事宜达成如下协议:</div>
        	<div class="textdiv">一、乙方租赁甲方服装<span id="clothingName"></span>共<span id="count"></span>件(套)。</div>
        	<div class="textdiv">二、租赁时间:<span id="days"></span>天，自<span id="restoreYear"></span>年<span id="restoreMonth"></span>月 <span id="restoreDay"></span>日至<span id="leaseYear"></span>年<span id="leaseMonth"></span>月<span id="leaseDay"></span>日止。</div>
        	<div class="textdiv">三、租赁价格：服装价值<span id="coust"></span>元，租赁价格<span id="rentcoust"></span>元 / 套（件）</div>
        	<div class="textdiv">租金合计<span id="totle"></span>元，押金<span id="yajin"></span>元</div>
        	<div class="textdiv">四、付款方式：租赁服装道具前乙方一次性付清租金，并交纳一定的押金。</div>
        	<div class="textdiv">五、注意事项：</div>
        	<div class="textdiv">1、乙方对甲方服装道具应按时归还，每延期一天，甲方按服装总价值的5%收取滞纳金。</div>
        	<div class="textdiv">2、乙方对甲方服装道具应妥善保管，如发生服装道具损坏，丢失现象，乙方应照价赔偿。</div>
        	<div class="textdiv">3、乙方不得将该服装道具转借，转租他人，如乙方违约，应向甲方缴纳违约赔偿金（按服装道具价值的50%计算）。</div>
        	<div class="textdiv" style="margin-top: 10px;">
        		<div style="float: left;width: 50px;margin-left: 200px;">甲方：</div>
        		<div style="float: left;width: 100px;margin-left: 300px;">乙方：</div>
        	</div>
        	<div class="textdiv" style="margin-top: 50px;">
        		<div style="float: left;width: 50px;margin-left: 100px;">电话：</div>
        		<div style="float: left;width: 200px;margin-left: 300px;">电话：</div>
        	</div>
        </div>  
        
        <div style="text-align: center; position: absolute; top: 80px;right: 120px;">
	        <a id="down_button">下载</a>
        </div>  

</body>
</html>